Analytical quality control